package nexus.criterios.exp;

import javax.faces.event.ActionEvent;

public class OperatorKey extends Key{
    private char operador;
    private KeyListener listen;
    public OperatorKey(char op,KeyListener kl,String s){
        super(s);
        operador=op;
        listen=kl;
    }
    public void action(ActionEvent ae) {
        listen.clickOperador(operador);
    }
    public String getValue() {
        return operador+"";
    }   
}